home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
8_5.lha
/
8_5
/
fprintf.c
< prev
next >
Wrap
Text File
|
1993-08-08
|
382b
|
20 lines
* Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
* The C++ Answer Book */
* Tony Hansen */
* All rights reserved. */
/ write the arguments in a formatted manner
include <stdarg.h>
nt fprintf(FILE *f, const char *fmt, ...)
if (f->mode != input)
{
va_list ap;
va_start(ap, fmt);
int ret = vfprintf(f, fmt, ap);
va_end(ap);
return ret;
}
return EOF;